package cn.com.framework;

import java.util.Properties;

/**
 * 系统配置工具
 * 
 * @author Microbun 2012-2-12上午5:26:28
 * @version $Id: ConfigUtil.java 2 2012-02-14 07:31:38Z microbun $
 * @since 1.0
 */
public class ConfigUtil {

	static Properties config;

	public static String getConfig(String key) {
		return config.getProperty(key);
	};

	public static void instance(Properties config) {
		if (ConfigUtil.config == null) {
			ConfigUtil.config = config;
		}
	}

}
